home *** CD-ROM | disk | FTP | other *** search
- Dim XL As object
- Dim appXL As object
-
- Dim ws As object
- Dim sheet As object
- Dim cell As object
-
- Dim zot As object
- Dim zot1 As object
- Dim zot2 As object
- Dim zot3 As object
- Dim zot4 As object
- Dim zot5 As object
-
- ?XL.Parent
- ?XL.Name
-
- ?ws.Range("Test").Value(3)
- ?ws.Selection
- ?ws.Parent.Name
- ?ws.Range("test").Parent.Name
-
- ?appXL.Parent
- ?appXL.Workbooks.Count
- ?appXL.Worksheets.Count
-
- '====================================
- ?appXL.Worksheets.Count
- 16
-
- '====================================
- Set XL = CreateObject("ExcelApplication")
-
- Set appXL = XL.Application
-
- appXL.WindowState = 3
-
- appXL.WorkBooks.Add
-
- Set ws = appXL.ActiveSheet
-
- ws.Cells(1,1).Value = "Test"
-
- ws.Cells(2,1).Value = 100
-
- ws.Range("A2:A5").FillDown
-
-
- tmp = ws.Range("A1:B5").CreateNames(True, False, False, False)
-
- Set cell = ws.Range("A6")
-
- cell.FormulaR1C1 = "=SUM(Test)"
-
- ?cell.Value
- 400
-